package com.service.sys;

import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.sys.SysDeptMapper;
import com.model.sys.SysDept;

@Service
public class SysDeptService {

	@Autowired
	private SysDeptMapper sysDeptMapper;
	
	SysDept model = new SysDept();
	
	public void test() {
		model.setDeptid(UUID.randomUUID().toString());
		sysDeptMapper.insert(model);
	}
}
